<?php
	class Banggia extends CI_Controller
    {
        public function __construct() {
            parent::__construct();
            $this->load->helper('url');
        }
        
        public function index()
        {
            $this->load->model('Nkdefault', 'default');            
            $this->load->model('admin/managethongbao', 'thongbao');
            $temp['title']="Bảng giá";
            $temp['template']='banggia';
            $temp['data']['info']="Bảng giá nha khoa Toàn Mỹ";
            $temp['danhmuc']['menu'] = $this->default->loadDanhMuc();
            $temp['danhmuc']['currentItem'] = 'banggia';
            $temp['online'] = $this->useronline->countOnline();
             //load thong bao
            $thongbao = $this->thongbao->LoadThongBao(null, null, 1, 0);
            if(!empty($thongbao)) $temp['thongbao'] = $thongbao->result_array();        
            $this->load->view("template/layout",$temp);	 
        }
    }
?>